package com.dg.river.netty.axle.msg2dev;

import com.fasterxml.jackson.annotation.JsonPropertyOrder;

@JsonPropertyOrder({"result", "errCode", "errMsg", "code"})
public class Msg02_Return extends BaseMsg{
    //返回结果 处理结果,0:成功，1：失败
    private byte result;
    //错误码
    private short errCode;
    //错误信息
    private String errMsg;
    //唯一通信标识
    private String code;

    public byte getResult() {
        return result;
    }

    public void setResult(byte result) {
        this.result = result;
    }

    public short getErrCode() {
        return errCode;
    }

    public void setErrCode(short errCode) {
        this.errCode = errCode;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "Msg02_Return{" +
                "result=" + result +
                ", errCode=" + errCode +
                ", errMsg='" + errMsg + '\'' +
                ", code='" + code + '\'' +
                '}';
    }

}
